﻿using PublicClass;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Organization.Domian.Model
{


    /// <summary>
    /// 客户信息模型
    /// </summary>
    public class Client : AuditFields
    {
        /// <summary>
        /// 客户Id 1
        /// </summary>
        [Key]
        public int ClientId { get; set; }

        /// <summary>
        /// 客户编号
        /// </summary>
        [MaxLength(20)]
        public string? ClientNumber { get; set; }

        /// <summary>
        /// 客户名称  1
        /// </summary>
        [MaxLength(20)]
        public string? ClientName { get; set; }

        /// <summary>
        /// 客户类型
        /// </summary>
        [MaxLength(20)]
        public string? ClientType { get; set; }

        /// <summary>
        /// 负责人电话
        /// </summary>
        [MaxLength(20)]
        public string? PrincipalTel { get; set; }

        /// <summary>
        /// 录入单位
        /// </summary>
        [MaxLength(20)]
        public string? InputUnit { get; set; }

        /// <summary>
        /// 使用单位
        /// </summary>
        [MaxLength(20)]
        public string? BuildingUser { get; set; }

        /// <summary>
        /// 所属市场
        /// </summary>
        [MaxLength(20)]
        public string? Market { get; set; }

        /// <summary>
        /// 服务人员
        /// </summary>
        [MaxLength(20)]
        public string? ServiceStaff { get; set; }

        /// <summary>
        /// 归集档案
        /// </summary>
        [MaxLength(20)]
        public string? CollectionFile { get; set; }

        /// <summary>
        /// 使用状态
        /// </summary>
        public bool UseOftate { get; set; }

        /// <summary>
        /// 负责人姓名
        /// </summary>
        [MaxLength(20)]
        public string? PrincipalName { get; set; }

        /// <summary>
        /// 身份证
        /// </summary>
        [MaxLength(20)]
        public string? IDNumber { get; set; }

        /// <summary>
        /// 所属行业
        /// </summary>
        [MaxLength(20)]
        public string? IndustryInvolved { get; set; }

        /// <summary>
        /// 客户级别
        /// </summary>
        [MaxLength(20)]
        public string? Classification { get; set; }

        /// <summary>
        /// 所属单位
        /// </summary>
        [MaxLength(20)]
        public string?   AffiliatedUnit { get; set; }

        /// <summary>
        /// 业务员
        /// </summary>
        [MaxLength(20)]
        public string? Salesman { get; set; }
        
        /// <summary>
        /// 所在地
        /// </summary>
        [MaxLength(20)]
        public string? pcaTextArr { get; set; }



    }
}